package cn.com.surker.base.pump.dao;

import cn.com.surker.base.pump.entity.PumpNorm;
import cn.com.surker.base.pump.entity.PumpType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 泵送规格表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-07-09
 */
public interface PumpNormDao extends BaseMapper<PumpNorm> {

	PumpNorm findByErpId(Long originId, Long erpId);

	/**
	 * 根据销售合同查询泵送规格
	 *
	 * @param conId
	 * @return
	 */
	List<PumpNorm> findBySaleCon(Long conId);
}
